package supercafe.more;

public class Table{
	int tableId;
	String tableName;
	boolean used;
	boolean ordered;
	boolean prepared;
	
	public Table(int id,String name,boolean used,boolean ordering,boolean prepared){
		this.tableId = id;
		this.tableName = name;
		this.used = used;
		this.ordered = ordering;
		this.prepared = prepared;
	}
	public int getTableId() {
		return tableId;
	}
	public boolean isUsed() {
		return used;
	}
	public String getTableName() {
		return this.tableName;
	}
	public boolean isOrdered(){
		return ordered;
	}
	public boolean isPrepared(){
		return prepared;
	}
	public String toString(){
		return tableName;
	}
	/*
	public boolean equals(Object o){
		Table another = (Table)o;
		return this.tableName.equals(another.tableName);
	}
	*/
}
